<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CSS 上一页、下一页样式</title>
</head>
<body>
<h2>上一页、下一页按钮</h2>

<a href="#" class="previous">&laquo; 上一页</a>
<a href="#" class="next">下一页 &raquo;</a>

<a href="#" class="previous round">&#8249;</a>
<a href="#" class="next round">&#8250;</a>
<style>
a{
    padding: 8px 16px;
}
    .previous{
        background-color: darkgray;
        color: black;
    }
    .next{
        background-color: green;
        color: white;
    }
    .round{
        border-radius: 50%;
    }
    .previous:hover{
        background-color: gray;

    }
    .next:hover{
        background-color: gray;
        color: black;
    }
</style>
</body>
</html>
